package com.xwdeshj.repository;

import com.xwdeshj.entity.XwCityinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2018/12/19.
 * 城市类型
 */
public interface XwCityinfoRepository extends JpaRepository<XwCityinfo,Integer> {

    //根据城市加密id，判断该城市是否存在
    public XwCityinfo findByCityEncryptid(String city_encryptId);

    //根据城市加密id，删除该城市记录
    public void deleteByCityEncryptid(String city_encryptId);

}
